package com.hopes.bizz.video.service.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hopes.bizz.video.service.entity.VideoRegionEntity;

import java.util.List;

/**
 * 视频区域
 *
 * @author daijie
 * @date 2023-10-24 13:40:17
 */
public interface VideoRegionService extends IService<VideoRegionEntity> {

    /**
     * 同步视频区域
     *
     * @return
     */
    Boolean sync();

    /**
     * 树
     * @param videoRegion
     * @return
     */
    List<Tree<Long>> tree(VideoRegionEntity videoRegion);
}